package com.example.commons.common;


/**
 * @program: authority-v3.0.7
 * @ClassName: Constant
 * @description: 常量静态类
 * @author:dyy
 * @Version 3.0
 **/

public class Constant {
    // rolePermslist缓存前缀
    public static String ROLE_PREFIX="rolePerms";

    // permissionPermlist缓存前缀
    public static String PERMISSION_PREFIX="permissionPerms";

    // router缓存前缀
    public static String ROUTERS_PREFIX="routers";

    // captcha缓存前缀
    public static String CAPTCHA_PREFIX="captcha";

    // onlineUser缓存前缀
    public static String ONLINE_PREFIX="online";

    // 设置默认密码
    public static String DEFAULT_PASSWORD="12345";

    // 设置过滤数据库表的前缀
    public static String TABLE_PREFIX="sys_";

    // 设置包名
    public static String PACKAGE_NAME="com.example.authority";

    // 设置默认角色
    public static Long DEFAULT_ROLE=6L;

    // 邮箱前缀
    public static String EMAIL_PREFIX="email";

    // 系统版本
    public static String VERSION="v3.1.0";

    public static final String EMAIL_REGISTER_PREFIX = "email:register:code";

    public static final String EMAIL_LOGIN_PREFIX = "email:login:code";
}